﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XYZshell.Game.CardGameEngine
{
	/// <summary>
	/// 操作类
	/// </summary>
	public  class Operation
	{
		/// <summary>
		/// 操作能够发生需要的条件
		/// </summary>
		public ICondition   Condition
		{
			get;
			set;
		}
		/// <summary>
		/// 操作的效果
		/// </summary>
		public List<Affect> Affects
		{
			get;
			set;
		}
		/// <summary>
		/// 效果的持续时间
		/// </summary>
		public Lifetime LifeTime
		{
			get;
			set;
		}
		/// <summary>
		/// 能够在什么阶段生效
		/// </summary>
		public TurnStage UseStage
		{
			get;
			set;
		}
	}

}
